package ltd.tiantian.mall.dao;

import ltd.tiantian.mall.entity.TianTianMallSeckillSuccess;

public interface TianTianMallSeckillSuccessMapper {
    int deleteByPrimaryKey(Integer secId);

    int insert(TianTianMallSeckillSuccess record);

    int insertSelective(TianTianMallSeckillSuccess record);

    TianTianMallSeckillSuccess selectByPrimaryKey(Long secId);

    int updateByPrimaryKeySelective(TianTianMallSeckillSuccess record);

    int updateByPrimaryKey(TianTianMallSeckillSuccess record);

    TianTianMallSeckillSuccess getSeckillSuccessByUserIdAndSeckillId(Long userId, Long seckillId);
}
